

package com.hazelcast.logging.impl;

import javax.annotation.Nullable;
import java.util.logging.Level;

/**
 * Defines an internal contract for loggers.
 */
public interface InternalLogger {

    /**
     * Sets the level of this logger to the given level.
     *
     * @param level the level to set, can be {@code null} if the underlying
     *              logging framework gives some special meaning to it (like
     *              inheriting the log level from some parent object).
     */
    void setLevel(@Nullable Level level);

}
